package com.xingchen.feima.star.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 不可装料时间窗表
 * </p>
 *
 * @author yangxc
 * @since 2025-02-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("star_non_loading_time_window")
@ApiModel(value="NonLoadingTimeWindow对象", description="不可装料时间窗表")
public class NonLoadingTimeWindow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "不可装料开始时间")
    private LocalDate nonLoadingStartTime;

    @ApiModelProperty(value = "不可装料结束时间")
    private LocalDate nonLoadingEndTime;

    @ApiModelProperty(value = "不可装料时间窗描述")
    private String nonLoadingTimeWindowDescribe;

    @ApiModelProperty(value = "所属机组的id")
    private Long unitId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
